/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xiaotutu
 * Date: 2024-12-16
 * Time: 21:58
 */
public class Test {
    public static void main(String[] args) {//main || psvm
        /*System.out.println("hello IDEA!");//sout
        System.out.println("fdsfadafa");
        System.out.println(12.4);*/
        int a = 0;
        System.out.println(a);  //ctr+shift+/
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);

        System.out.println("======");
        //长整型 -》 8字节  64比特位
        long b = 10L;
        System.out.println(b);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);

        System.out.println("====");
        byte c = 127;//1个字节
        System.out.println(c);

        System.out.println("===");
        short d = 12;//2个字节   16比特位
        System.out.println(d);
        System.out.println("===");
        double f = 19.9;//8个字节
        System.out.println(f);

        double aa = 1;
        double bb = 2;
        System.out.println(aa/bb);

        double num = 1.1;
        System.out.println(num*num);//小数在计算机当中 没有一个非常完全的表示。 精确到了某一位。

        System.out.println("===");
        float g = 19.9f;
        System.out.println(g);
        System.out.println("===");
        //2个字节
        char ch = '高';// unicode
        System.out.println(ch);

        System.out.println("===");
        boolean flg = true;
        System.out.println(flg);

    }
}
